package com.qwc.blog.common.exception;

import java.util.Arrays;

/**
 * @author qwc
 * @Date 2021/10/26 10:10
 */
public class InvalidFileExtensionException extends FileException {
    public InvalidFileExtensionException(String[] allowedExtension, String extension, String filename) {
        super("文件名 : [" + filename + "], 扩展 : [" + extension + "], 允许扩展 : [" + Arrays.toString(allowedExtension) + "]");
    }
}
